package com.bio.entity.user;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bio.entity.BaseObject;

/** 
 * @author wuyue
 */
@Entity
@Table(name = "position")
public class Position extends BaseObject{
	
	private static final long serialVersionUID = 4259565208580297000L;

	private String name;        //职位名
	
	private String positionNo;          //职位编号
	
	private String type;        //职位类型
	
	private Long superiorId;            //上级职位
	
	private String superiorName;		//上级职位名称
	
	private String superiorNo;		//上级职位编号
	
	private Long companyId;             //公司Id
	
	private String companyName;			//公司名称

	@Column(name="name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name="position_no")
	public String getPositionNo() {
		return positionNo;
	}

	public void setPositionNo(String positionNo) {
		this.positionNo = positionNo;
	}

	@Column(name="superior_no")
	public String getSuperiorNo() {
		return superiorNo;
	}

	public void setSuperiorNo(String superiorNo) {
		this.superiorNo = superiorNo;
	}

	@Column(name="type")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name="superior_id")
	public Long getSuperiorId() {
		return superiorId;
	}

	public void setSuperiorId(Long superiorId) {
		this.superiorId = superiorId;
	}

	@Column(name="superior_name")
	public String getSuperiorName() {
		return superiorName;
	}

	public void setSuperiorName(String superiorName) {
		this.superiorName = superiorName;
	}

	@Column(name="company_id")
	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	@Column(name="company_name")
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
}
